package com.koo.modules.gy.entity;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.koo.common.base.entity.CommonEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 调价单
 *
 * @author charlin
 * @email 136137465@qq.com
 * @date 2023-01-05 16:15:52
 */
@Data
@ApiModel("调价单")
@TableName("gy_adjust_price_order")
public class GyAdjustPriceOrderEntity extends CommonEntity {
    private static final long serialVersionUID = 1L;


    @ExcelIgnore
    @TableId
    private Long adjustPriceId;


    @ColumnWidth(11)
    @ExcelProperty("单号")
    @ApiModelProperty(value = "单号")
    private String adjustPriceNo;

    @ColumnWidth(11)
    @ExcelProperty("单据日期")
    @ApiModelProperty(value = "单据日期")
    private Date adjuestPriceDate;

    @ColumnWidth(11)
    @ExcelProperty("执行日期")
    @ApiModelProperty(value = "执行日期")
    private Date executeDate;

    @ColumnWidth(11)
    @ExcelProperty("明细单号")
    @ApiModelProperty(value = "明细单号")
    private String adjustPriceDetailNo;

    @ColumnWidth(11)
    @ExcelProperty("货号")
    @ApiModelProperty(value = "货号")
    private String productCode;

    @ColumnWidth(11)
    @ExcelProperty("商品名")
    @ApiModelProperty(value = "商品名")
    private String productName;

    @ColumnWidth(11)
    @ExcelProperty("通用名")
    @ApiModelProperty(value = "通用名")
    private String genericName;

    @ColumnWidth(11)
    @ExcelProperty("规格")
    @ApiModelProperty(value = "规格")
    private String standard;

    @ColumnWidth(11)
    @ExcelProperty("单位")
    @ApiModelProperty(value = "单位")
    private String unit;

    @ColumnWidth(11)
    @ExcelProperty("批准文号")
    @ApiModelProperty(value = "批准文号")
    private String approvalNo;

    @ColumnWidth(11)
    @ExcelProperty("产地")
    @ApiModelProperty(value = "产地")
    private String producingArea;

    @ColumnWidth(11)
    @ExcelProperty("生产单位")
    @ApiModelProperty(value = "生产单位")
    private String produceFactory;

    @ColumnWidth(11)
    @ExcelProperty("剂型")
    @ApiModelProperty(value = "剂型")
    private String dosageForm;

    @ColumnWidth(11)
    @ExcelProperty("原零售价")
    @ApiModelProperty(value = "原零售价")
    private BigDecimal oldRetailPrice;

    @ColumnWidth(11)
    @ExcelProperty("原会员价")
    @ApiModelProperty(value = "原会员价")
    private BigDecimal oldMemberPrice;

    @ColumnWidth(11)
    @ExcelProperty("新零售价")
    @ApiModelProperty(value = "新零售价")
    private BigDecimal newRetailPrice;

    @ColumnWidth(11)
    @ExcelProperty("新会员价")
    @ApiModelProperty(value = "新会员价")
    private BigDecimal newMemberPrice;

    @ColumnWidth(11)
    @ExcelProperty("调价原因")
    @ApiModelProperty(value = "调价原因")
    private String adjustReason;

    @ColumnWidth(11)
    @ExcelProperty("审核人Id")
    @ApiModelProperty(value = "审核人Id")
    private String auditUserId;

    @ColumnWidth(11)
    @ExcelProperty("审核人")
    @ApiModelProperty(value = "审核人")
    private String auditUser;


}
